package com.wn.sms.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 短信加载配置类
 *    @ConfigurationProperties(prefix = "aliyun.sms")  加载 yaml中的配置文件
 *
 */
@Data
@ConfigurationProperties(prefix = "aliyun.sms")
public class SmsProperties {
    private String signName;        //签名
    private String templateCode;    //短信模板
    private String accessKey;       //key
    private String secret;          //密码
}